package com.qj.yantaishan.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 商品自定义字段对象 shanglala_product_custom_field
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class ProductCustomField
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long pigcmsId;

    /** 商品id */
    @Excel(name = "商品id")
    private Integer productId;

    /** 自定义字段名称 */
    @Excel(name = "自定义字段名称")
    private String fieldName;

    /** 自定义字段类型 */
    @Excel(name = "自定义字段类型")
    private String fieldType;

    /** 多行 0 否 1 是 */
    @Excel(name = "多行 0 否 1 是")
    private Integer multiRows;

    /** 必填 0 否 1是 */
    @Excel(name = "必填 0 否 1是")
    private Integer required;

    /** 0 普通留言 1 预约信息 */
    @Excel(name = "0 普通留言 1 预约信息")
    private Integer isReservation;

    /** 单选的类型的选项值 */
    @Excel(name = "单选的类型的选项值")
    private String fieldItem;

    public void setPigcmsId(Long pigcmsId) 
    {
        this.pigcmsId = pigcmsId;
    }

    public Long getPigcmsId() 
    {
        return pigcmsId;
    }
    public void setProductId(Integer productId) 
    {
        this.productId = productId;
    }

    public Integer getProductId() 
    {
        return productId;
    }
    public void setFieldName(String fieldName) 
    {
        this.fieldName = fieldName;
    }

    public String getFieldName() 
    {
        return fieldName;
    }
    public void setFieldType(String fieldType) 
    {
        this.fieldType = fieldType;
    }

    public String getFieldType() 
    {
        return fieldType;
    }
    public void setMultiRows(Integer multiRows) 
    {
        this.multiRows = multiRows;
    }

    public Integer getMultiRows() 
    {
        return multiRows;
    }
    public void setRequired(Integer required) 
    {
        this.required = required;
    }

    public Integer getRequired() 
    {
        return required;
    }
    public void setIsReservation(Integer isReservation) 
    {
        this.isReservation = isReservation;
    }

    public Integer getIsReservation() 
    {
        return isReservation;
    }
    public void setFieldItem(String fieldItem) 
    {
        this.fieldItem = fieldItem;
    }

    public String getFieldItem() 
    {
        return fieldItem;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pigcmsId", getPigcmsId())
            .append("productId", getProductId())
            .append("fieldName", getFieldName())
            .append("fieldType", getFieldType())
            .append("multiRows", getMultiRows())
            .append("required", getRequired())
            .append("isReservation", getIsReservation())
            .append("fieldItem", getFieldItem())
            .toString();
    }
}
